package com.yu8home.mq.rabbit.ttl;

import lombok.Getter;

@Getter
public enum QueueEnum {
    ORDER_TTL("mall.order.ttl", "mall.order.ttl", "mall.order.ttl"),
    ORDER_CANCEL("mall.order.cancel", "mall.order.cancel", "mall.order.cancel"),
    ORDER_DELAYED("mall.order.delayed", "mall.order.delayed", "mall.order.delayed");

    private String exchange;
    private String name;
    private String routeKey;

    QueueEnum(String exchange, String name, String routeKey) {
        this.exchange = exchange;
        this.name = name;
        this.routeKey = routeKey;
    }

}
